package com.wuliu.dao;

import com.wuliu.model.Business;

import java.util.List;

public interface BusinessDAO {
    public List<Business> findAll();
    public List<Business> findByCid(int cid);
    public Business findById(int id);
    public List<Business> findAllAndClass();
    public Business findByIdAndClass(int id);
    public void add(Business business);
    public void deleteById(int id);
    public void update(Business business);


}
